package com.scores.service;

import com.scores.pojo.Student;

import java.util.List;

public interface StudentService {

    List<Student> getAllStudents();

    List<Student> getAllStudentsByPage(Student student, int page, int size);

    int getAllStudentsCount(Student student);

    int addStudent(Student student);

    int updateStudent(Student student);

    int deleteStudent(Student student);

    int updatePassword(Integer studentNo, String newPassword);

    String getStudentPassword(Integer studentNo);
}
